package cn.sofwin.day0130.homework;

public class Test {
    public static void main(String[] args) {
        MyStack stack = new MyStack();
        stack.push("zs");
        stack.push("ls");
        stack.push("ww");
        System.out.println(stack.toString());
        stack.pop();
        System.out.println(stack.toString());

        MyQueue myQueue = new MyQueue();
        myQueue.push("1");
        myQueue.push("2");
        myQueue.push("3");
        System.out.println(myQueue.toString());
        myQueue.pop();
        System.out.println(myQueue.toString());
    }
}
